//
//  Test3.cpp
//  CPPTest
//
//  Created by you5 Yi on 2021/9/3.
//

#include "Test3.hpp"
#include <iostream>

class base
{
private:
    int x;
public:
    void setx(int a){x=a;}
    int getx(){return x;}
};

void test3() {
    base a,b;
    a.setx(89);
    b=a;
    std::cout<<a.getx()<<std::endl;
    std::cout<<b.getx()<<std::endl;
}
